package com.msr.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author tom
 * @version V1.0
 * @Package com.msr.controller
 * @date 2024/3/13 10:35
 * @Copyright © 株式会社多言语系统研究所
 */
@Controller
@RequestMapping("/index")
public class IndexController {   //  /index/page_left
    //通过的跳转方法
    @RequestMapping("/page_{page}")  // page=left
    public String toPage(@PathVariable("page") String page){  //left
        return page;  //left
    }
}
